<style>
</style>
<template>
    <!--<div>啊啊啊</div>-->


</template>
<script>
    Rap.define('','',function () {
        return {
            name:'ly-table-column-header',
            props: {
                column:{
                }
            },
            data:function () {
                return {

                }
            },
            render:function (createElement) {
                //有子栏目且子栏目被隐藏
                if(this.column.has_child&&!this.column.child_count){
                    return '';
                }
                var  child=this.column.headerRender.call(this._renderProxy,createElement );
                return createElement('span',{ 'class': {
                    'ly-table-header-has-child':this.column.has_child
                }},child);
            }
        }
    });
</script>
